go/types.Checker.context (method)
15 uses
go/types (current package)
call.go#L149: inst := check.instance(pos, typ, targs, nil, check.context()).(*Signature)
call.go#L158: if i, err := check.verify(pos, tparams, targs, check.context()); err != nil {
call.go#L633: sigParams = check.subst(call.Pos(), sigParams, makeSubstMap(tparams[:n], targs[:n]), nil, check.context()).(*Tuple)
infer.go#L111: params = check.subst(nopos, params, smap, nil, check.context()).(*Tuple)
infer.go#L140: inferred := check.subst(arg.Pos(), tpar, smap, nil, check.context())
infer.go#L425: if t1 := check.subst(nopos, t0, smap, nil, check.context()); t1 != t0 {
infer.go#L512: tparams2[i].bound = check.subst(pos, tparam.bound, renameMap, nil, check.context())
infer.go#L515: return tparams2, check.subst(pos, typ, renameMap, nil, check.context())
named.go#L428: ctxt = check.context()
named.go#L623: func (check *Checker) context() *Context {
named.go#L671: ctxt = check.context()
signature.go#L251: recvTPar.bound = check.subst(recvTPar.obj.pos, baseTPar.bound, smap, nil, check.context())
signature.go#L265: recvType = check.instance(rparam.Type.Pos(), baseType, targs, nil, check.context())
typexpr.go#L472: ityp := check.instance(ix.Pos(), gtyp, targs, nil, check.context())
typexpr.go#L489: if i, err := check.verify(ix.Pos(), inst.TypeParams().list(), targs, check.context()); err != nil {